ostree/config: Use g_autoptr instead of goto
authorMatthew Leeds <matthew.leeds@endlessm.com>
Fri, 28 Sep 2018 22:45:43 +0000 (15:45 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 1 Mar 2019 16:29:44 +0000 (16:29 +0000)
commitfe6b19751654b1cb11dec9d4a3c22eba56454544
treec3fca1c060000b5e686c4eda9ba6e9c51bc037f5
parenteecd989d4661f48c51f49565422ef11d1c231371
ostree/config: Use g_autoptr instead of goto

It seems cleaner to make the GKeyFile a g_autoptr variable and just
return rather than using the "goto out;" idiom.

Closes: #1743
Approved by: cgwalters
src/ostree/ot-builtin-config.c